package dao;

import pojo.Dept;

import java.util.List;

public interface DeptDao {

    List<Dept> findAll(Dept dept);


    int addDept(Dept dept);
    Dept findById(Integer id);

    int deleteDeptById(Integer id);

    int updateDept(Dept dept);
}
